package com.yunkeji.system.domain.bo;

import com.yunkeji.common.core.validate.AddGroup;
import com.yunkeji.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.yunkeji.common.core.domain.BaseEntity;

/**
 * 贴贴墙业务对象 ykj_like_wall
 *
 * @author zhang
 * @date 2024-07-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class LikeWallBo extends BaseEntity {

    /**
     * 自增主键
     */
    @NotNull(message = "自增主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 内容
     */
    @NotBlank(message = "内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String content;

    /**
     * 贴贴墙类型 1=心愿墙 2= 缘分墙 3= 励志墙 4=爱好墙 5=心墙墙 
     */
    @NotNull(message = "贴贴墙类型 1=心愿墙 2= 缘分墙 3= 励志墙 4=爱好墙 5=心墙墙 不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer type;

    /**
     * 统计数量
     */
    @NotNull(message = "统计数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer nums;

    /**
     * 1待审核2审核通过3审核拒绝
     */
    @NotNull(message = "1待审核2审核通过3审核拒绝不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer status;

    /**
     * 性别(未知 2)
     */
    @NotNull(message = "性别(未知 2)不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer sex;

    /**
     * 年龄
     */
    @NotNull(message = "年龄不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer age;

    /**
     * 身高，单位cm
     */
    @NotNull(message = "身高，单位cm不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer height;

    /**
     * 头像路径
     */
    @NotBlank(message = "头像路径不能为空", groups = { AddGroup.class, EditGroup.class })
    private String headInfo;

    /**
     * 职业
     */
    @NotNull(message = "职业不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer profession;

    /**
     * 城市名称
     */
    @NotBlank(message = "城市名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String cityName;

    /**
     * 发布者头像
     */
    @NotBlank(message = "发布者头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pubHeadUrl;


}
